package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * @author diva
 * @date 2025/10/8 18:15
 * @ProjectName
 */
public interface RoleService {

    List<Role> selectAll();

    PageResult<Role> page(String name, String label, String remark, Integer page, Integer pageSize);

    void addRole(Role role);

    void deleteRole(Integer id);

    Role getRoleById(Integer id);

    void updateRole(Role role);
}
